package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyk
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsSolver extends Model<PsSolver> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 消缺员编号
     */
    @TableField("SOLVERCODE")
    private String solvercode;

    /**
     * 消缺员名称
     */
    @TableField("SOLVERNAME")
    private String solvername;

    /**
     * 分配状态0是未分配1是已分配
     */
    @TableField("ALLOTSTATUS")
    private Integer allotstatus;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
